

package com.xgit.iov.common.core.model;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author lengleng
 * @date 2019/2/1
 * 部门树
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeptTree extends TreeNode {

	/** 部门名称 */
	private String name;

	/** 联系人 */
	private String linkman;

	/** 联系电话 */
	private String contact;

	/** 联系地址 */
	private String address;

	@JsonSerialize(using= ToStringSerializer.class)
	private Long tenantId;

	private LocalDateTime updateTime;
}
